from django.test import TestCase
from .models import *


# 测试数据，存入活动图片
# list = [
#     "中秋国庆",
#     "教师节",
#     "中秋预定",
#     "春节"
# ]
#
# for index,i in enumerate(list,1):
#     ad = ActiveImage()
#     ad.active_name = i
#     ad.active_img = "images/active_img/ad00" + str(index) + ".jpg"
#     ad.save()

